widget: Emit initial style-set signal in the same situations as GTK2
authorBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 22:34:45 +0000 (23:34 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 23:48:26 +0000 (00:48 +0100)
commitfafee4e27645f2b9f819444ad8ce6fe1f67182b8
tree0bd4b438e32f6dd9bf4eb2becd64f38d168d2c50
parentaf8a6a7abd02c0862be794c33e477ef2128a01ac
widget: Emit initial style-set signal in the same situations as GTK2

This ensures that widgets that aren't ported and rely on the style-set
signal being emitted work as well as before. They should not rely on
style-set being emitted however.

Note that this function is a no-op if the initial style has been set
already and is very cheap if it has not been set yet. It only becomes
relevant if the resulting style actually gets used.

https://bugzilla.gnome.org/show_bug.cgi?id=639584
gtk/gtksizerequest.c
gtk/gtkwidget.c